A similarity criterion for sequential programs using truth-preserving partial functions

نویسنده

  • Abhinav Aggarwal
چکیده

The execution of sequential programs allows them to be represented using mathematical functions formed by the composition of statements following one after the other. Each such statement is in itself a partial function, which allows only inputs satisfying a particular Boolean condition to carry forward the execution and hence, the composition of such functions (as a result of sequential execution of the statements) strengthens the valid set of input state variables for the program to complete its execution and halt succesfully. With this thought in mind, this paper tries to study a particular class of partial functions, which tend to preserve the truth of two given Boolean conditions whenever the state variables satisfying one are mapped through such functions into a domain of state variables satisfying the other. The existence of such maps allows us to study isomorphism between different programs, based not only on their structural characteristics (e.g. the kind of programming constructs used and the overall inputoutput transformation), but also the nature of computation performed on seemingly different inputs. Consequently, we can now relate programs which perform a given type of computation, like a loop counting down indefinitely, without caring about the input sets they work on individually or the set of statements each program contains.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Planning, Truth Criteria and the Systematic Approach to Action and Change Planning, Truth Criteria and the Systematic Approach to Action and Change

This paper presents an analysis of partial-order planning based on Sandewall's systematic approach to reasoning about action and change. The partial-order planner tweak is analysed and reconstructed. The main result is a temporal logic-based version of the criterion for necessary truth in tweak plans. In a second step, the tweak truth criterion is extended to deal with context-dependent and non...

متن کامل

Reasoning about probabilistic sequential programs 1

A complete and decidable Hoare-style calculus for iteration-free probabilistic sequential programs is presented using a state logic with truth-functional propositional (not arithmetical) connectives.

متن کامل

A refinement calculus for logic programs

Existing refinement calculi provide frameworks for the stepwise development of imperative programs from specifications. This paper presents a refinement calculus for deriving logic programs. The calculus contains a wide-spectrum logic programming language, including executable constructs such as sequential conjunction, disjunction, and existential quantification, as well as specification constr...

متن کامل

Planning, Truth Criteria and the Systematic Approach to Action and Change

This paper presents an analysis of partial-order planning based on Sandewall's systematic approach to reasoning about action and change. The partial-order planner tweak is analysed and reconstructed. The main result is a temporal logic-based version of the criterion for necessary truth in tweak plans. In a second step, the tweak truth criterion is extended to deal with context-dependent and non...

متن کامل

The effect of zero-ischaemia laparoscopic minimally invasive partial nephrectomy using the modified sequential preplaced suture renorrhaphy technique on long-term renal functions

INTRODUCTION Laparoscopic minimally invasive partial nephrectomy (MIPN) is the preferred technique in renal surgery, especially T1 phase kidney tumours, and it is recommended for the protection of renal functions in methods that do not involve ischaemia. AIM To evaluate long-term renal functions of zero-ischaemia laparoscopic MIPN patients who underwent a modified sequential preplaced suture ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1708.05640  شماره 

صفحات  -

تاریخ انتشار 2017